package net.lzzy.practices.constants;

/**
 * @author admin
 */
public class ApiConstant {
    private  ApiConstant(){}

    /**
     * 指定api返回的content type
     */
    public static final String API_PRODUCES = "application/json";
    /**
     * AuthApiController 相关的路由配置
     */
    public static final String ROUTE_AUTH_ROOT = "api/v1";

    public static final String ROUTE_AUTH_LOGIN = "/login";

    public static final String ROUTE_AUTH_EXISTS = "/exists/{user}";

    public static final String ROUTE_AUTH_REGISTER = "/register";

    public static final String ROUTE_AUTH_UPLOAD = "/upload";


    public static final String ROUTE_USER_ROOT = "api/v1/admin";

    public static final String ROUTE_USER_ALL = "/";

    public static final String ROUTE_USER_PAGE = "/page";

    public static final String ROUTE_USER_SEARCH = "/search/{kw}";

    public static final String ROUTE_USER_APPLYING = "/apply";

    public static final String ROUTE_USER_APPROVE = "/approve";

    public static final String ROUTE_USER_DECLINE = "/decline";

    public static final String ROUTE_USER_BAN = "/ban";

    /**
     * CourseApiController相关路由配置
     */

    public static final String ROUTE_COURSE_ROOT = "/api/v1/course";

    public static final String ROUTE_COURSE_ALL = "/";

    public static final String ROUTE_COURSE_OPEN = "/open";

    public static final String ROUTE_COURSE_PAGE = "/page";

    public static final String ROUTE_COURSE_OPEN_PAGE = "/op";

    public static final String ROUTE_COURSE_TEACHER = "/teacher";

    public static final String ROUTE_COURSE_STUDENT = "/student";

    public static final  String ROUTE_COURSE_ADD = "/add";

    public static final  String ROUTE_COURSE_OPEN_CLOSE = "/oc";

    public static final  String ROUTE_COURSE_PUT = "/put/{id}";

    public static final String ROUTE_COURSE_REMOVE = "/remove";

    /**
     * ApplicantApiController相关路由配置
     */

    public static final String ROUTE_APPLY_ROOT = "api/v1/apply";

    public static final String ROUTE_APPLY_APPLY = "/apply";

    public static final String ROUTE_APPLY_STUDENT_COURSES = "/courses";

    public static final String ROUTE_APPLY_STUDENT_ENROLLED = "/enrolled";

    public static final String ROUTE_APPLY_STUDENT_APPLYING = "/applying";

    public static final String ROUTE_APPLY_STUDENT_DECLINED = "/declined";

    public static final String ROUTE_APPLY_APPROVE = "/approve";

    public static final String ROUTE_APPLY_DECLINE = "/decline";

    public static final String ROUTE_APPLY_REMOVE = "/remove";

    public static final String ROUTE_APPLY_TEACHER_ENROLLED = "/teacher/enrolled";

    public static final String ROUTE_APPLY_TEACHER_APPLYING = "/teacher/applying";

    public static final String ROUTE_APPLY_TEACHER_DECLINED = "/teacher/declined";






}
